package com.littlehu.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author littlehu
 * @data 2018/6/22 11:10
 * @Email 807115007@qq.com
 **/
public class Article implements Serializable {
    private Integer id;
    private String author;
    private String title;
    private String link;

    private Date pulishTime;

    public Article() {
    }

    public Article(Integer id, String author, String title, String link, Date pulishTime) {
        this.id = id;
        this.author = author;
        this.title = title;
        this.link = link;
        this.pulishTime = pulishTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Date getPulishTime() {
        return pulishTime;
    }

    public void setPulishTime(Date pulishTime) {
        this.pulishTime = pulishTime;
    }
}
